<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
    <link rel="stylesheet" href="/static/css/admin.css?{$static_ver}">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <script src="/static/layui/layui.js?=12321"></script>
    <script src="/static/js/js.js?={$static_ver}"></script>
</head>
<body>
<ul class="layui-nav">
    <li class="layui-nav-item">
        <a href="">控制台<span class="layui-badge layui-hide">9</span></a>
    </li>
    <li class="layui-nav-item {if condition="$current eq ''"} layui-this {/if}">
        <a href="/admin/Index">首页<span class="layui-badge-dot layui-hide"></span></a>
    </li>
    <li class="layui-nav-item {if condition="$current eq 'vote'"} layui-this {/if}">
        <a href="/admin/vote">投票管理<span class="layui-badge-dot layui-hide"></span></a>
    </li>
    <li class="layui-nav-item layui-layout-right" lay-unselect="" style="margin-right: 20px">
        <a href="javascript:;"><img src="//t.cn/RCzsdCq" class="layui-nav-img">我</a>
        <dl class="layui-nav-child">
            <dd><a href="/admin/login/logout">退了</a></dd>
        </dl>
    </li>
</ul>
<div style="padding: 20px;">
    {__CONTENT__}
</div>
<script>
    layui.use('element', function(){
        var element = layui.element;

        //…
    });
</script>
</body>
</html>